// 阿里OSS
// import OSS from  "ali-oss";
//
// export const OSSClient = new OSS({
//   region: process.env.VUE_APP_OSS_REGION,
//   accessKeyId: process.env.VUE_APP_OSS_ACCESS_KEY_ID,
//   accessKeySecret: process.env.VUE_APP_OSS_ACCESS_KEY_SECRET,
//   bucket: process.env.VUE_APP_OSS_BUCKET
// })

// 腾讯OSS
import COS from 'cos-js-sdk-v5'
export const OSSClient = new COS({
  SecretId: process.env.VUE_APP_OSS_ACCESS_KEY_ID,
  SecretKey: process.env.VUE_APP_OSS_ACCESS_KEY_SECRET,
  Bucket: process.env.VUE_APP_OSS_BUCKET,
  Region: process.env.VUE_APP_OSS_REGION
})
